<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Quick Start</title>
</head>
<body>
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<div id="app">
    <button @click="count++">
        Count is: {{ count }}
    </button>
</div>

<script type="module">
    //
    import { createApp, ref } from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js'
     // import {createApp, ref} from 'vue'
    //const {createApp, ref} = Vue
    createApp({
        setup() {
            return {
                count: ref(0)
            }
        }
    }).mount('#app')
</script>
</body>
</html>